﻿using Architecture.Domian.Common;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Architecture.Domain.TraceabilityManage
{
    /// <summary>
    /// 供应商表
    /// </summary>
    [Table("Supplier")]
    public class Supplier : AuditInfo
    {
        /// <summary>
        /// 供应商Id
        /// </summary>
        [Key]
        public int SId { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        [StringLength(50)]
        public string? ProductionLot { get; set; }

        /// <summary>
        /// 原料图片
        /// </summary>
        [StringLength(1000)]
        public string? RawMaterialPicture { get; set; }

        /// <summary>
        /// 辅料图片
        /// </summary>
        [StringLength(1000)]
        public string? AccessoriesPicture { get; set; }

        /// <summary>
        /// 添加剂图片
        /// </summary>
        [StringLength(1000)]
        public string? AdditivePicture { get; set; }

        /// <summary>
        /// 包材图片
        /// </summary>
        [StringLength(1000)]
        public string? PackagingMaterialPicture { get; set; }
    }
}
